package com.nbot.server.mapper.cluster;


import com.nbot.server.domain.TbAqyhWtyh;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbAqyhWtyhMapper {
    int deleteByPrimaryKey(String id);

    int insert(TbAqyhWtyh record);

    int insertSelective(TbAqyhWtyh record);

    TbAqyhWtyh selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TbAqyhWtyh record);

    int updateByPrimaryKey(TbAqyhWtyh record);


    int getTodayCount();


    List<TbAqyhWtyh> findLastN(@Param("n") int n);
}